package com.sz.admin.dept.service;

import com.mybatisflex.core.service.IService;
import com.sz.admin.dept.pojo.po.DeptLeader;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 部门领导人表 Service
 * </p>
 *
 * @author sz-admin
 * @since 2025-10-20
 */
public interface DeptLeaderService extends IService<DeptLeader> {

    @Transactional
    void syncLeader(Long deptId, List<Long> leaderIds);
}